Documenting Pattern Use in Java Programs

نویسنده

  • Marco Torchiano
چکیده

Design patterns are widely recognized as important software development methods. Their use as software understanding tools, though generally acknowledged has been scarcely explored. Patterns are most useful in understanding software when they are well documented. Sometimes they are described separately from code as design comments. Nevertheless they hold a strong relationship to the source code and thus they should be documented at the source level too. Unfortunately there is no agreement on how to document pattern use. This paper describes a structured approach to document pattern use in the Java language. Our solution is based on the standard Javadoc tool and it is able to generate HTML documentation. The approach has been implemented and tested with software that uses patterns.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

JACK: A Framework for Process Algebra Implementation in Java

The construction of concurrent programs is especially complex due mainly to the inherent non-determinism of their execution, which makes it difficult to repeat test scenarios. Process algebras have been used to design and reason about these programs. This paper presents an approach to developing concurrent programs using a set of process algebra constructs implemented as an object-oriented fram...

متن کامل

Software Visualisation of Java Programs in InspectJ

Visualisation is a powerful method for explaining how programs work. However, while it is advantageous in theory, it is not used as frequently as it might be. Patterns may be used to describe architectures, so in this paper we present a pattern language in two parts. The first part describes a set of patterns for approaching the development of program-specific visualisations. The second focusse...

متن کامل

Exploring a Method to Detect Behaviour-Preserving Evolution Using Graph Transformation

One of the problems of documenting software evolution appears with the extensive use of refactorings. This paper explores a method, based on graph transformation, to detect wether the evolution between two versions of a software system can be expressed by means of a sequence of refactoring operations. For this purpose we extend a graph representation format to use it for simple Java programs, a...

متن کامل

Elucidative Programming in Computer Science Education

In this paper we present some ideas and tools for involving real programs in educational contexts. The ideas are based on a paradigm called elucidative programming, which we will motivate and introduce. The tool is the Java Elucidator, with which it is possible to produce a web of Java programs and explanations. We will discuss the usage of the elucidative paradigm both from the teacher’s persp...

متن کامل

Finding sufficient conditions to guarantee freedom from deadlock when using futures in X10 programs

ABSTRACT X10 is a new object oriented programming language developed by IBM. X10 extends sequential Java, i.e. Java without support for threads, with new concurrency primitives. Asynchronously executed expressions, or futures, are one of these new concurrency primitives. The incorrect use of futures may however lead to deadlock situations. This paper formulates a model to describe the interacti...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002